ptyprocess
A library provides an interface for a unix PTY/TTY.
It aims to work on all major Unix variants.
The library was developed as a backend for a https://github.com/zhiburt/expectrl.
If you're interested in a high level operations may you'd better take a look at zhiburt/expectrl
.
Usage
use PtyProcess;
use ;
use Command;